package com.amigo.online.provider.user.model.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "activity_participate_tbl")
public class ActivityParticipateTbl {
    @Id
    private Long id;

    @Column(name = "activity_id")
    private Long activityId;

    @Column(name = "user_id")
    private Long userId;

    /**
     * 参加时间
     */
    @Column(name = "participate_time")
    private Date participateTime;

    /**
     * 取消参加
     */
    private Boolean cancel;

    /**
     * 取消参加时间
     */
    @Column(name = "cancel_time")
    private Date cancelTime;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return activity_id
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * @param activityId
     */
    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    /**
     * @return user_id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取参加时间
     *
     * @return participate_time - 参加时间
     */
    public Date getParticipateTime() {
        return participateTime;
    }

    /**
     * 设置参加时间
     *
     * @param participateTime 参加时间
     */
    public void setParticipateTime(Date participateTime) {
        this.participateTime = participateTime;
    }

    /**
     * 获取取消参加
     *
     * @return cancel - 取消参加
     */
    public Boolean getCancel() {
        return cancel;
    }

    /**
     * 设置取消参加
     *
     * @param cancel 取消参加
     */
    public void setCancel(Boolean cancel) {
        this.cancel = cancel;
    }

    /**
     * 获取取消参加时间
     *
     * @return cancel_time - 取消参加时间
     */
    public Date getCancelTime() {
        return cancelTime;
    }

    /**
     * 设置取消参加时间
     *
     * @param cancelTime 取消参加时间
     */
    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }
}